package com.ruoyi.users.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 管理用户对象 users
 * 
 * @author 王帅涛
 * @date 2024-11-17
 */
public class Users extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户的openid */
    private String openid;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    /** 个性签名 */
    @Excel(name = "个性签名")
    private String signature;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 头像 */
    @Excel(name = "头像")
    private String avatarUrl;

    /** 省份 */
    @Excel(name = "省份")
    private String province;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 区域 */
    private String district;

    /** 等级 */
    private Long level;

    /** 经验 */
    private Long exp;

    /** 自增id */
    private Long id;

    /** 热爱 */
    private Long fans;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private Long phone;

    public void setOpenid(String openid) 
    {
        this.openid = openid;
    }

    public String getOpenid() 
    {
        return openid;
    }
    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }
    public void setSignature(String signature) 
    {
        this.signature = signature;
    }

    public String getSignature() 
    {
        return signature;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setAvatarUrl(String avatarUrl) 
    {
        this.avatarUrl = avatarUrl;
    }

    public String getAvatarUrl() 
    {
        return avatarUrl;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }
    public void setLevel(Long level) 
    {
        this.level = level;
    }

    public Long getLevel() 
    {
        return level;
    }
    public void setExp(Long exp) 
    {
        this.exp = exp;
    }

    public Long getExp() 
    {
        return exp;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFans(Long fans) 
    {
        this.fans = fans;
    }

    public Long getFans() 
    {
        return fans;
    }
    public void setPhone(Long phone) 
    {
        this.phone = phone;
    }

    public Long getPhone() 
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("openid", getOpenid())
            .append("nickname", getNickname())
            .append("signature", getSignature())
            .append("sex", getSex())
            .append("avatarUrl", getAvatarUrl())
            .append("province", getProvince())
            .append("city", getCity())
            .append("district", getDistrict())
            .append("level", getLevel())
            .append("exp", getExp())
            .append("createTime", getCreateTime())
            .append("id", getId())
            .append("fans", getFans())
            .append("phone", getPhone())
            .toString();
    }
}
